﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGolovkine.ShoutCastRipper
{
    public class StationClientDisconnectedEventArgs : StationClientContentTitleEvent
    {
        private readonly TimeSpan _contentLength;
        private readonly Exception _exception;

        public StationClientDisconnectedEventArgs(string contentTitle)
            : this(contentTitle, null)
        {
        }

        public StationClientDisconnectedEventArgs(string contentTitle, Exception exception)
            : base(contentTitle)
        {
            _exception = exception;
        }

        public Exception Exception
        {
            get { return _exception; }
        }
    }
}
